home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10122 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: newshost.lanl.gov!tanmoy
  2. From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Standard question - pointer initialization
  5. Date: 15 Mar 1996 18:09:29 GMT
  6. Organization: Los Alamos National Laboratory
  7. Message-ID: <TANMOY.96Mar15110929@qcd.lanl.gov>
  8. References: <4hk9un$906@hammer.msfc.nasa.gov> <4hl6rr$nde@news.xs4all.nl>
  9.     <313E6028.1C19@ix.netcom.com> <4hnpsl$g8c@hacgate2.hac.com>
  10.     <4hq9hsINN998@keats.ugrad.cs.ubc.ca> <4i7cgn$5da@baygull.rtd.com>
  11.     <TANMOY.96Mar13184413@qcd.lanl.gov> <3148D825.945@hawaii.edu>
  12. NNTP-Posting-Host: qcd.lanl.gov
  13. Mime-Version: 1.0
  14. Content-Type: text
  15. In-reply-to: Dave Carien's message of Thu, 14 Mar 1996 18:38:29 -0800
  16.  
  17. In article <3148D825.945@hawaii.edu>
  18. Dave Carien <davec@hawaii.edu> writes:
  19. <snip>
  20. DC: I was under the impression that NULL was a pointer type and to convert it 
  21. DC: to a char type it you would need to do something such as:
  22. DC: 
  23. DC: (char)NULL
  24. DC: 
  25. DC: Of course it would be wiser to use '\0', or just 0 for an int typecast.
  26. DC: If I'm wrong I'm sorry.
  27.  
  28. Your impressions were incorrect. I have posted a reply to the other
  29. copy of your message up there.
  30.  
  31. Cheers
  32. Tanmoy
  33. --
  34. tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
  35. Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
  36. Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
  37. <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
  38. internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
  39. fax: 1 (505) 665 3003   voice: 1 (505) 665 4733    [ Home: 1 (505) 662 5596 ]
  40.